<include file="Public:header"/>
<div id="main-content" class="content">
    <ul class="breadcrumb">
        <li><a href="/">首页</a></li>
        <li class="active"><a href="">模块管理</a></li>
        <li class="active">模块列表</li>
    </ul>
    <div class="page-header clearfix">
        <h3>模块管理</h3>
        <ul class="nav nav-tabs">    
            <li>
                <a href="{:U('Module/moduleList')}">模块列表</a>
            </li>
            <li class="active">
                <a href="javascript:;">添加模块</a>
            </li>
        </ul>
    </div>

    <div class="content-box-table">
        <form action="{:U('Module/addModule')}" method="post" class="form-horizontal" role="form">
            <div class="form-group">
                <label for="mo_name" class="col-sm-3 control-label">模块名称：</label>
                <div class="col-sm-9">
                  <input type="text" class="form-control" id="mo_name" name="mo_name">
                </div>
            </div>
            <div class="form-group">
                <label for="mo_desc" class="col-sm-3 control-label">模块描述：</label>
                <div class="col-sm-9">
                  <input type="text" class="form-control" id="mo_desc" name="mo_desc">
                </div>
            </div>
            <div class="form-group">
                <label for="mo_remark" class="col-sm-3 control-label">相关备注：</label>
                <div class="col-sm-9">
                  <input type="text" class="form-control" id="mo_remark" name="mo_remark">
                </div>
            </div>
            <div class="form-group">
                <label for="mo_remark" class="col-sm-3 control-label">所属项目：</label>
                <div class="col-sm-9">
                    <select name="p_id">
                        <volist name="project_list" id="vo">
                            <option value="{$vo['p_id']}">{$vo.p_name}</option>
                        </volist>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                    <input type="hidden" name="back" value="{:U('Module/moduleList',array('p_id'=>$_GET['p_id']))}" />
                    <button type="submit" class="btn btn-default btn-primary">确认添加</button>
                </div>
            </div>
        </form>
    </div>


</div>

<include file="Public:footer"/>